home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
151-175
/
disk_161
/
nag
/
nag.doc
< prev
next >
Wrap
Text File
|
1992-05-06
|
38KB
|
837 lines
*********************************************************************
************************* Nag doc **************************
*********************************************************************
****** Table of contents ******
1. Overview
2. Requirements
2.0 Computer
2.1 Operating System
2.2 Fonts
2.3 Disclaimer
2.4 Guarantee
2.5 Assumptions
3. Configuration
3.0 Auto-Configuration
3.1 Editing the Configuration file.
4. Installation
4.0 Auto-Installation
4.1 Contents of the arc file
5. Start-up
5.0 From s:startup-sequence
5.1 From WORKBENCH
5.2 From CLI
6. Tiny Window
6.0 General Info
6.1 The BACKDROP flag
6.2 Awakening Nag
7. Main Display
7.0 Top Line
7.1 Appointment 'message' display
7.2 Those Colored 'Dots'
7.3 Calendar Display
7.4 CALENDAR gadgets
7.5 NOW gadget
7.6 NAG and 1 NAG gadget
7.7 EDIT gadget
7.8 PRINT gadget
7.9 SEARCH gadget
7.10 SHRINK gadget
7.11 QUIT gadget
7.12 TITLE BOX gadget (re-configure Nag)
8. Editing Appointments
8.0 When are we Editing?
8.1 What are we Editing?
8.2 The "string" gadget
8.3 /\ & \/ gadgets
8.4 AM/PM gadget
8.5 DELETE gadget
8.6 COPY gadget
8.7 RECALL gadget
8.8 Times gadgets
8.9 Nags Per Time gadget
8.10 VOICE & SOUND gadgets
8.11 DONE gadget
8.12 CANCEL gadget
8.13 SHAREWARE gadget (test Nag)
8.14 How To Enter New Appointments
8.15 How To Merge And Sort Files From CLI
8.16 How To Edit Other Years
9. Details of the Nag.year files
10. Known Bugs
11. REVISION History
12. Shareware Notice
12.0 The Concept
12.1 The Pitch
12.2 The Address
12.3 Bug Reports
12.4 Distribution
12.5 The Promise
*********************************************************************
************************* 1. Overview **************************
*********************************************************************
Nag' is an electronic appointment calendar for the Amiga. In
addition to keeping track of your appointments, your anniversary, and
your mother-in-law's birthday, `Nag' can be instructed to gently
remind you by popping up a display of the next `nagged event'. It will
hang around flashing or beeping or playing a digital sample and/or
using the Amiga's voice to 'NAG' (remind) you every 30 seconds until
you respond.
You can also TURN THE NAG OFF! (Much better than your mother-in-law!)
- ******* - - Nag Features - - ******* -
-> Be Nagged (reminded) with Flash, Beep, Sample, and/or Voice.
-> Set times, and types of nags for each individual event.
-> Plays ANY file as SOUND data. Will set Period from IFF format file.
-> Simple 'intuitive' gadget-driven menus follow WORKBENCH conventions.
-> Configuration file sets Nag to YOUR preferences.
-> Up to 2 years of 99 events per day. Buffer size 2 K to 2 MEGS.
-> FAST gadget-driven editor with COPY & RECALL. 'Special Date' flags.
-> Calendar gadget quickly shows any day of any month of any year.
-> Print Routine. (Assignment sheets, printout of personal Diary, etc.)
-> Search Routine. 'Missed Nags' Routine. 'SingleShot' Nag Switch.
-> The Ultimate Reminder!!! SHAREWARE: User = $10 -*- & Disk = $15
*********************************************************************
************************* 2. Requirements *************************
*********************************************************************
2.0 COMPUTER: Amiga 500, 1000, or 2000.
2.1 SYSTEM: WORKBENCH 1.2 set to 80 column mode.
2.2 FONT: Default font or custom 8x8 font. (I use Pearl).
2.3 DISCLAIMER: I disclaim responsibility for anything whatsoever
that might occur as a result of using this program.
As a matter of fact, I disclaim any responsibility
for the content of this disclaimer. So there...
*** USE NAG AT YOUR OWN RISK! ***
2.4 GUARANTEE: I guarantee that Nag works well for me, and I will
continue to update and revise as I deem necessary
to try to make it work PERFECTLY for everyone.
2.5 ASSUMPTIONS: Throughout this doc file, I assume that you are
able to edit text files, using Ed or other text
editor, and are at least familier with the Amiga
Command Line Interface (CLI). If you don't yet
have these skills, you won't be able to edit Nag's
config file, but you can still use Nag with the
default s:Nag.config that comes in the Arc file.
*********************************************************************
*********************** 3. Configuration ************************
*********************************************************************
3.0 AUTO-CONFIGURATION
You may use the 'Nag.install' file to automatically copy the
required files to the proper places in your system for the sample
s:Nag.config file. (Requires about 70k with SOUND sample).
To make this happen:
1> cd to the directory containing all the Nag files, and
2> execute Nag.install
3.1 EDITING THE CONFIGURATION FILE
This file (s:Nag.config), can be edited with most editors or word
processors. The 'Ed' that comes with your WorkBench works fine.
MAINTAIN THE FORMAT! (same # of lines, data starts on space 11,
spaces on either side of data, etc.), or Nag will get confused!
sayFirst: The first half of the first thing the voice will say.
sayFirst: The second half of the first thing the voice will say.
Buffer: Size of the buffer in bytes.
The buffer needs to be big enough to hold both this year and
next year's files plus what you plan to add when editing.
(Minimum size = 2,000 bytes, Maximum size = 2,048,000 bytes.
If you try to use an out of range buffer size, Nag will
choose the closest valid value. To determine how large a
buffer you require, add the filesizes of the Nag.year files,
(Nag.thisyear + Nag.nextyear), plus an additional 1000 bytes
or so as Editing space. The structure of the nag entries has
been made as memory efficient as possible, so a single event
will take, AT MOST, 60 bytes in the Nag.year file.
nagDir: Full path to the Nag.1988, Nag.1989, etc. files. Nag looks for
a space to tell where any Path string ends, so don't put any
embedded spaces within the nagDir Path or in the soundFile
path! See the system directory for the file sizes. 20,000
bytes is likely to be sufficient for all but the busiest
bureaucrat.
bdHour: Default hour. Birthdays and other days with no specific hour
entered will be nagged at this hour. (military time!). 1600
hours, (4:00 pm), works well.
nagFlag: NagFlag. 1=ON, 0=OFF. If OFF, no nags will occur at all.
ssFlag: SingleShot Flag. 1=ON, 0=OFF. If ON, nags will not repeat
every 30 seconds.
sayRate: VOICE: Words Per Minute. 150 is good ( 40 to 400)
sayPitch: VOICE: Pitch of voice. bass voice = 67 ( 65 to 320)
saySex: VOICE: Sex and Mode of Voice. 0 or 2 = Male,1 or 3 = Female,
greater than 1 = Robot (male & female robots?)
sayFreq: VOICE: Sample Frequency. Default = 22200 ( 5000 to 28000)
Fool with this at your own risk. Higher number gives
Nag a lower sounding voice.
sPeriod: SOUND: Time to play 1 byte in clock ticks ( 127 to 65535)
Period(in clock ticks) = (microsecs per sample)/0.279
So, if the SOUND was sampled at 10,000 samples per sec, that's
.0001 sec per sample, or 100 microseconds. 100/.279 = 358.
Sound sampled at 10,000 samples per second should have a
sPeriod of 358. (IFF SOUND files compute their own sPeriod.)
sVolume: SOUND: Volume. 0 = minimum 64 = maximum ( 0 to 64)
sCycles: SOUND: Cycles. Number of sound sample repeats( 1 to 65535)
This is mostly for the internal sound. Most SOUND samples will
have sCycles set to 1. When using the internal sample, try
setting sCycles from 2-20, and sPeriod from 127-1000. The
internal sample is 1024 bytes long and has silence built in
before and after the 'beep' so it will 'pulse' if sCycles are
set to greater than one.
lPlace: Left Edge of the Tiny Window. ( 0 to 608)
tPlace: Top Edge of the Tiny Window. ( 0 to 189)
If your WORKBENCH in in interlace, the top edge may go down
to 389. If bdFlag = 1, Nag will not allow a top edge less
than 2. (otherwise the TinyWindow would be hidden by the
title bar!)
bdFlag: bdFlag toggles Tiny Window. Normal = 0, BACKDROP = 1.
If bdFlag = 0, the Tiny Window acts like a normal window. You
may depth arrange other windows on the WORKBENCH screen in
front or in back of it. However, if bdFlag = 1, the Tiny Window
STAYS behind ALL other windows AND the WORKBENCH title bar.
<NOTE: See Warning in section 6.1!>
WBc: ColorFlag. 0 = Normal, 1 = Colors 1(white) & 3(red) are reversed.
(This may be of help if you use 'strange' WorkBench colors.)
sPath: SOUNDfile path. Full path and filename for digital sound sample.
If the sample is IFF, the Period will be calculated and the
config file sPeriod will be ignored. If the config file has
the Cycles set to more than 10, Cycles will default to 1 to
play the digital sample. Volume is ALWAYS read from the
s:Nag.config file. Re-config reloads soundfile.
mFlag: 'Missed Nags' flag. 0 = normal, 1 = skip the opening display
of 'You May Have Missed...' when Nag is first started.
If you RESET your Amiga a lot, you may not want to be
reminded of Missed Nags EVERY time. Set this flag to '1',
and when called in your startup-sequence, Nag will only
open the 'Tiny' window.
NOTE: Be sure to maintain the order and format of the configuration
file or you will be in deep guano! Keep the vertical lines vertical,
and the data starting on the 11th character. You may wish to keep a
backup copy of the s:Nag.config just in case it all goes wrong! ;-)
*********************************************************************
*********************** 4. Installation ************************
*********************************************************************
4.0 - AUTO-INSTALLATION
You may use the 'Nag.install' file to automatically copy the
required files to the proper places in your system for the sample
s:Nag.config file. (Requires about 60k with 15k SOUND sample.)
To make this happen:
1> cd to the directory containing all the Nag files, and
2> execute Nag.install
4.1 CONTENTS OF THE ARC FILE
-* file *- -* purpose *- -* suggested location *-
Nag the program. Put in your system drawer.
Nag.info Tool icon for use from WBench system drawer.
Nag1.info a alternate tacky, chauvinistic icon ;-)
Nag2.info a time oriented icon
Nag3.info another tacky, chauvinistic icon.....
Nag.config this config file MUST be in your s: drawer.
Nag.config2 just a spare with alternate settings to try.
Nag.1988 put this yearfile in your system drawer.
Nag.1989 put this yearfile in your system drawer.
Nag.1990 put this yearfile in your system drawer.
Nag.year See section 8.15 for uses of this file.
Nag.doc Instructions and helpful hints. A Must Read!
(or you can wrap fish with the printout.)
Nag.PROMO Advertisement
Nag.install Execute this if you are confused and/or lazy.
ReadMeNow! You should have read this already!
- Also included: -
RunBack Allows Nag to run from startup-sequence. c:
RunBack.doc Documentation for RunBack.
ThruDaWindow A IFF digitized sound effect. s:
4.2 NECESSARY FILES
The only REQUIRED files are Nag (the program), 2 Nag.year
files (Nag.thisyear & Nag.nextyear), and s:Nag.config.
if you start Nag from your startup-sequence, the program
RunBack (included in the arc file) is also needed.
If you use the VOICE feature, the standard WORKBENCH files
devs:narrator.device & libs:translator.library
must be available or the VOICE won't work.
*********************************************************************
********************** 5. Getting Nag Started *********************
*********************************************************************
5.0 Nag is intended to be run from your startup-sequence. Edit your
s:startup-sequence file so that one of the LAST lines, (AFTER
loadWB, if you use WORKBENCH, and AFTER the system time is SET),
is :
RunBack -5 sys:system/Nag
'RunBack', (included with Nag15.arc), should be in your c: directory.
5.1 OR: To Start Nag From WORKBENCH, simply click on it's icon.
5.2 OR: To Start Nag From CLI, 1> Run Nag
You may start Nag from any CLI, using "Run Nag", but you will
be unable to close this CLI while Nag is running.
*********************************************************************
******************** 6. Tiny "Sleeping" Window ********************
*********************************************************************
6.0 - General Info
When first run, the word 'Nag' in contrasting colors will appear
in the workbench display. This is Nag at rest. This 'Tiny Window' may
be placed anywhere on your screen by setting lPlace (left edge) &
tPlace (top edge) in the s:Nag.config file.
6.1 - BACKDROP flag ( 0 or 1 )
If the BACKDROP flag in s:Nag.config is set to 0, the Tiny Window
will be a normal, albeit small, window. (In this mode the Tiny Window
will START in front and stay at whatever depth level you leave it.)
If the BACKDROP flag is s:Nag.config is set to 1, the Tiny Window
will STAY behind all other windows. In fact, in some ways, it is more
like a disk icon than a window. It is even possible to slide the Tiny
Window up under the WORKBENCH title. If, for instance, you set the
TopEdge of the Tiny Window to 2, (tPlace in s:Nag.config), the only
visible sign of Nag is a 30 pixel horizontal line in WORKBENCH color
number 3 just under the title line.
WARNING!: If WORKBENCH is run (or re-run) AFTER Nag, and the bdFlag=1,
Nag's Tiny Window will disappear behind the WorkBench screen,
FOREVER! Run WORKBENCH FIRST! (loadWB) Then run Nag.
6.2 - Awakening Nag
Nag's Tiny Window will hang around waiting for one of THREE events.
1. The Timer signal arrives. (Time to remind you!)
In this case, if the "Nag" or "1 Nag" gadget is "lit", the
"Nag Window" will pop up in front of all current screens
displaying the event which triggered it.
NOTE: If you are editing or searching when the Timer signal
arrives, that window will be closed before the Nag.
YOU MUST PRESS THE LEFT MOUSEBUTTON INSIDE THE NAG
WINDOW TO ACKNOWLEDGE THE NAG AND MAKE IT GO AWAY!
An un-acknowledged nag will repeat every 30 seconds
until it is acknowledged... (soooo irritating... ;-)
2. You 'Click' on the word "Nag" in the Tiny Window.
In this case, you are taken to the main display screen and
the current list of upcoming appointments is listed.
3. Upon startup, if a reminder has been missed.
If there are UPCOMING EVENTS whose reminders have been missed
because Nag has just now started, Nag will open the MAIN DISPLAY
WINDOW when first run, and display what you missed. (Your
startup-sequence will continue in the background.) You may also
initiate this "Missing Nags Search" by 'SEARCH'ing for a single
character.
NOTE: Missing Nags are always calculated from NOW.
*********************************************************************
********************** 7. MAIN DISPLAY WINDOW *********************
*********************************************************************
7.0 - The Top Line
The top line displays today's time and date and the APPROXIMATE
number of minutes until the next "nagged" event. The top line is
updated whenever you move the mouse or select a gadget.
7.1 - Appointment Display
The current list of appointments is displayed in the large area
on the left side of the main display window, each day "headered" with
a date-line. If the appointment or event is within one week of NOW,
the Day-Of-The-Week will be highlighted. 'Today' and/or 'Tomorrow',
as they relate to NOW, will also be indicated.
7.2 - Those Colored 'Dots'
A 'dot' located between the time and the event indicates that 1 or
more Nag Flags have been set. Black(color #2) = Flash, Red(color #3) =
SOUND nag and White(color #1) = VOICE nag. To determine EXACTLY which
flags and how many nags are set, use the Edit Screen. (see below)
7.3 - The Calendar Display
Dates are intially in black (color #2), then those dates which
have an event are changed to red (color #3), or if there is a 'nagged'
event, that date is changed to white (color #1). You can tell with a
glance at the calendar when your next 'open' day will be. You may also
REVERSE color #1 and color#3 by setting a flag in the s:Nag.config file.
CREDIT: Some calendar routines were borrowed from a public domain
program called "calendar". I hereby thank the author of
calendar, for saving me a lot of "grunt work"!
7.4 - The Calendar Gadgets
The YEAR and/or MONTH can be changed by pressing the left mouse
button on the "<<< >>>" marks. (Nag will not update the appointment
display until a day of the month is chosen). The current day of the
month can be changed by pressing the left mouse button on the selected
day. Remember you can only view appointments from this year and next
year although you may set the calendar for other years.
7.5 - NOW gadget
Resets Nag to current time and date.
7.6 - NAG or 1 NAG gadget
If this gadget is 'off', "Nag is gagged".
If either Nag or 1 Nag is on (lit), the NAG feature is activated.
(1 Nag is selected by clicking 'NAG' twice and vice-versa.)
NAG: When 'NAG' is lit, you are in standard Nag mode. When
a nag event occurs, you must respond by clicking in the Nag window,
or the Nag will continue to repeat every 30 seconds.
1 NAG: When '1 NAG' is lit, ONLY ONE nag will appear for each
nagged event. You DO NOT have to respond to the nag when this flag is
lit. The Nag will show for 15-20 seconds and go away ATTEMPTING to
return your machine to the way it was before the nag began.
7.7 - EDIT gadget
Takes you to the "Edit" Screen to edit the chosen date. (see below)
7.8 - PRINT gadget
Uses preferences thru PRT device to print hardcopy of selected
appointments. (skips perforation if necessary).
Prodedure: Select start date, select PRINT, (gadget lights to
indicate that PRINT is active), select end date, select PRINT again.
When the display returns to show the start date, control has been
returned to you. To print currently selected day, just double-click
the PRINT gadget. (selecting a day starts the day from 12:01am,
selecting NOW makes PRINT start from the current hour.
NOTE: IF YOU NEED TO ABORT THE PRINTING:
Turn off your printer, wait 30 seconds or so for the 'printer
trouble' requestor to appear, and select 'CANCEL'.
IF THAT DOESN'T WORK OR YOU ARE IMPATIENT:
Keep turning your printer on and off until control returns.
(Yes, I'd call this a bug, but NOT MINE.)
7.9 - SEARCH gadget
Makes a non case-dependent search of the "message" parts of the
appointments for the entered string and displays each occurence on the
main screen. A string of only one character will display all possibly
'missed' nags from 'Now'.
7.10 - SHRINK gadget
Closes the Main Display Window and exposes the Tiny Window.
Clicking on SHRINK is the proper way to exit Nag. It remains ready,
but in the background waiting. In addition, any changes in the year
files are automatically saved in case the system goes down prematurely.
7.11 - QUIT gadget
REMOVES Nag from the operating system. Changes in the year files are
saved before Nag gives up if you select 'Yes' when the Requestor pops up.
7.12 - TITLE BOX gadget (re-configure)
The title box (lower right area) is also a gadget. It re-loads the
config file and reconfigures ALL of Nag if you select the 'Yes' Requestor.
*********************************************************************
************************* 8. EDIT SCREEN **************************
*********************************************************************
8.0 - When are we editing?
Nag only works on, and edits, THIS year and NEXT year. If you leave
your Amiga running thru New Year's Eve, please 'QUIT' Nag and re-start
to set the new year. (If you don't, Nag will continue to use the
original yearfiles, and you will be unable to edit next year.)
8.1 - What are we editing?
You are editing the ONE day that was set on the `calendar' before
you selected the "EDIT" gadget. The date being edited is displayed in
the top line of the Edit screen.
8.2 - The "string" gadget
The long red rectangle, with the curser in it is the 'string'
gadget. Enter your message here as the first step in the data entry
process. Then the time and other gadgets may be set. This is the
text that will be translated by translator and spoken by narrator
if the VOICE is used.
8.3 - The /\ and \/ gadgets
All of the "/\" and "\/" thingies are gadgets. Starting from the
upper left, the first set controls the hours, the 2nd set controls the
minutes, and the 3rd set controls the line number. You may have up to
99 lines per day. The hour control gadgets can be used to set certain
visual flags (BIRTHDAY, ANNIVERSARY, !ACTION!) instead of a specific
time. Just keep clicking one of the line number gadgets to cycle through
all the possibilities. The AM/PM gadget can speed this process.
8.4 - AM/PM gadget
am/pm can be switched by selecting the am/pm gadget.
8.5 - DELETE gadget
Removes the currently displayed line from the edit buffer.
Remember to select 'DONE' when you are finished editing that
day to save your changes to the main buffer.
8.6 - COPY gadget
Copies the currently displayed line into the Copy buffer. The
last event copied remains safe in the Copy buffer until you QUIT Nag.
The copy buffer copies everything except the date so you can move what
you copy to another day and/or month.
8.7 - RECALL gadget
Copies the Copy buffer into the currently displayed line. Using the
COPY & RECALL functions makes entering repeated dates, (like User meetings,
Car maintenence, "Washday"), etc. quick and painless.
8.8 - Time gadgets
At the upper right is the Nag 'Times' selection area. You may
select any combination of time periods to be "nagged". (15 MIN, HOUR,
DAY, WEEK, 30 DAYS and/or OnTime) previous to the "event".
8.9 - Nags Per Time gadgets
The fourth set of "/\ \/" gadgets controls the "Nags Per Time".
This number is combined with each SELECTED Time to determine how
often you will be 'nagged'.
For example: if you have selected 1/4 Hourly, Hourly, and Daily,
the nags per time is 2, and the "Nag" flag is "lit" on the Main
Display Screen, you will be reminded of the upcoming event at 48 hours,
24 hours, 2 hours, 1 hour, 30 minutes, and 15 minutes before the upcoming
"event". Nag won't nag you at the exact time of the event unless you have
set the "On Time" time.
When a Time or Mode is selected, Nags Per Time will automatically
advance to 1. When all are de-selected, nags will automatically go to 0.
Note that if no Times or Modes are selected, Nags Per Time can NOT be set.
The maximum Nags Per Time is 7.
8.10 - VOICE & SOUND gadgets (make some noise)
Above the Nag Time Selection area are two Nag 'Mode' selection
gadgets for 'VOICE' and 'SOUND'. You may select either, both or none
for each event. None = flash (Amiga function DisplayBeep). If you want
no nags at all, leave ALL flags OFF for this event, or turn off the NAG
gadget on the Main Display Window. (The latter disables ALL nags)
NOTE: Settings for the VOICE and SOUND are in the Nag.config file.
Any file may be used as the SOUND file, but real digital samples
seem to work best. ;-) If the file is in IFF format, the proper
Period will be computed, otherwise, the values in s:Nag.config
is used. If Nag cannot find your digital-sample-sound-file,
(sPath in s:Nag.config), it will use an internal 1024 byte
'pulse' wave as sound data with the s:Nag.config values.
After MUCH work, this is STILL an ugly sound. Maybe it was
destined to be. The program IS called Nag, ya know... ;-)
8.11 - DONE gadget
Means you are satisfied with this day's appointments. (Changes
will be saved automatically if you 'SHRINK', or Requestored if you
'QUIT' Nag.)
8.12 - CANCEL gadget
Means you want Nag to `forget' this editing session. (no changes
saved, everything the way it was before you started to edit.)
8.13 - SHAREWARE gadget (Test Nag)
The shareware message is also a gadget. It generates a TEST 'nag'
using the event and settings you are currently editing. Nag will
complain if you have failed to set a Mode and/or Time.
8.14 - To Enter New Appointments:
Make sure you are looking at the "Editing:" screen.
Use the Line # gadgets to move to a blank line. (highest #)
Type in the information to be displayed. (up to 45 characters)
Press RETURN to enter a new "message" string.
Then: If you want to be nagged, light at least one 'Time'or'Mode'.
(If you select VOICE and/or SOUND first, Nag assumes
you want an 'OnTime' nag and sets that Time for you.)
NOTE: You MUST enter a message string before you can set anything, and
you MUST set at least one 'Time' or 'Mode' before it is possible to set
the number of 'Nags Per Time'. (That makes sense, doesn't it?)
NOTE: To 'unset' nags, turn ALL flags OFF.
FINALLY!: Select the 'DONE' gadget to 'save' the changes to the main
buffers. (The buffers are saved to disk when you SHRINK or QUIT Nag.)
You may test your new nag by selecting the Shareware Notice.
That's all there is to it!
You can watch your work updating the day's entries in the window below.
When the day looks correct, REMEMBER to select "DONE" to save that day.
8.15 - Merging and Sorting from CLI - (using the Nag.year file)
Try entering all your birthdays, anniversaries, holidays, and
other dates that don't change year to year into the generic 'Nag.year'
file using a text editor. Then, when you need a new year, use the AmigaDog
command 'copy', from CLI, to copy Nag.year to Nag.1990 (for example).
If you ALREADY have your Nag.1990 file, and you wish to MERGE
the two files togeather, use the CLI commands 'Join' and 'Sort' to
construct your new file and 'Copy' it to the proper directory.
Example: (from CLI)
Cd RAM:
Copy sys:system/Nag.1990 Nag.old
Join Nag.old Nag.year as Nag.join
Sort Nag.join Nag.1990
Copy Nag.1990 sys:system
8.16 - Editing Years Other Than 'ThisYear' and 'NextYear'
Although Nag can only edit 'thisyear' and 'nextyear', you can
easily 'fool' it with the 'DATE' command from CLI. Let's say that
it is 1988 but you want to edit 1987 before you print it out as
your personal diary for that period. Here's how to do it:
First, 'Quit' Nag.
(then, from CLI) DATE 01-JAN-87 (the month and day don't matter)
RUN Nag
Bingo! There you are back in 1987! Go ahead and finish editing
and printing until you are finished with 1987.
DON'T FORGET TO RE-SET THE DATE TO THIS YEAR WHEN YOU'RE THROUGH!
*********************************************************************
********************* 9. Nag.year Format **************************
*********************************************************************
The Nag.year files contain YOUR data. It is formated as follows:
The first 8 characters are the date and time, ie, MMDDHHNN,
where MM = month, DD = day, HH = hours, NN = minutes.
Hours and minutes are in military (24 hour) time.
2400 hours = 'blank' 2500 hours = BIRTHDAY
2600 hours = ANNIVERSARY 2700 hours = !ACTION!
The ninth and tenth characters are set to blanks, (the spacebar
character), if no 'Nag Times' are set.
If one or more 'Nag Times' are set, the ninth character is the
nagCode + ASCII ';' (nagCode + 58)
Nag Times are bit-wise flags.
15 MIN = 1 HOUR = 2 DAY = 4
WEEK = 8 30 DAYS = 16 ON TIME = 32
so if the 15 MIN and WEEK flags are selected, the nagCode is
1 + 8 = 9, and the ninth character is 9+58=67, or ASCII 'C'.
Likewise the tenth character = Nags Per Time + modes + 48. ('0')
Here the modes are VOICE = 8, and SOUND = 16. So, if you had set
two Nags Per Time, and selected both the SOUND and VOICE modes,
the tenth character would be 2 + 8 + 16 + 48 = 74 or ASCII 'J'.
The words you entered for this date and time start on the 11th
character, and are limited to 48 characters. (58 characters total)
The data MUST! be ordered from top to bottom with January at the
top. You can use the CLI command 'SORT' to put your Nag.year
files in order, see section 8.15 for an example.
*********************************************************************
*********************** 10. KNOWN BUGS ****************************
*********************************************************************
10.0 - 'Top Line is Garbled' Bug
Sometimes all of the top line on the MAIN and/or EDIT windows
will not display, allowing whatever was there before shine thru. Less
often garbled characters will appear part-way through the top line.
I have been unable to detect any problems associated with this
'quirk' other than momentary irratation with the display, and it can
easily be fixed by selecting ANY gadget. None-the-less, I would like
this kill this pesky insect. If anyone knows why this is happening,
I would GREATLY appreciate a phone call, card, letter, or E-Mail.
(see Section 11 of this document for 'how to reach me' info.)
*********************************************************************
*********************** 11. REVISIONS *****************************
*********************************************************************
- Nag Revisions: Written in Manx Aztec 'C' Version 3.4 -
Version
1.6 03/22/88 Started over from 1.4 - Redid all of 1.5 revision.
39512 bytes Found a few more routines to 'optimize'.
Added 'Skip Missed Nags' flag to s:Nag.config.
Killed the garbled top line bug?
Fixed the 'VOICE sometimes speaks wrong day' bug.
1.5 03/04/88 Re-worked & de-bugged the internal SOUND routines.
39720 bytes Re-config 'takes' the FIRST time now in ALL cases.
Killed the 'Nag occurs while editing may Guru' bug.
Re-worked graphics routines for smaller code size.
Added time (HH:MM) to the top line which is now
updated by any mouse movement or selection.
Replaced SetWindowTitles() with Text(). (less code)
DELETE is now only permenent if combined with DONE.
1.4 02/10/88 All allocations made MEMF_PUBLIC. (got nuthin' ta hide.)
41644 bytes AllocMem() & CloseWindow() replaced with SafeAllocMem()
and CloseWindowSafely(). Saved a few more code bytes.
NagWindow 'select' more aesthetically pleasing. ;-)
Re-organized & cleaned up source code. (neatness counts!)
1.3 01/31/88 Print routine no longer leaves printer in italics.
41584 bytes Tomorrow displayed correctly for ALL dates.
Tiny window no longer 'stores' mouse clicks.
1.2 01/24/88 Missed Nags no longer trashes the date in the title line.
41652 bytes 30 Day Nag now works right. Missed Nags always from NOW.
Corrected spelling of 'to(m)morrow'. More Code Shrunk.
Line Buffer now de-allocates (6k) when not needed.
Complete re-write of docs. Fixed 'Edit 99th line' bug.
Fixed the 'if no SoundFile you get long noise' bug.
1.1 01/09/88 More Initialization to 'Bullet-proof' everything.
42000 bytes Fixed the 'Buy Some RAM!' bug. (Folks with No Fast_RAM.)
No more crashes after displaying nag!
1.0 01/03/88 Skip over VOICE/SOUND problems to avoid 'requestor hang'.
Add Reverse Colors Switch to s:Nag.config file.
Re-Config now reconfigures EVERYTHING immediately.
Rewrote docs. "NULLs? We doan need no #$%@ing NULLS!"
Shorter Error Messages. Rewrote code for smaller size.
Load SOUNDfile and IFF info (if available).
Added Nag 'dots' to main display. Killed more bugs.
Set Tiny Window to BACKDROP in s:Nag.config file.
0.9 12/12/87 Tiny Window: smaller, placement in s:Nag.config
YearFiles: More idiot-proofing.
0.8 12/09/87 Reworked Nag Flag Selection Routines. NULLed ALL strings.
0.7 12/07/87 Shorten code. More error message handling. ReLoad Config.
Save Requestor for 'QUIT'.
0.6 12/03/87 Kill Requestors during Nags. (& Req bug).
Reworked Sound routine.
0.5 11/28/87 Added: Config File, Voice, Sound, & Print. Missed Nags
on demand. On Time Flag. Better error reporting.
Test Nag. Displays made 199 lines high, not 200.
0.4 11/07/87 Too many people with non-standard WB colors, so changed
Calendar display of nags to colors. Minor cosmetics...
0.3 11/04/87 Changed nag mark to shadows. Fixed the bug
that caused wrong year after some Edits.
0.2 11/03/87 Fixed some minor display bugs. Nags marked on calendar.
0.1 11/02/87 Fixed Beep Bug. Changed ^ to ~. Improved docs.
Display 'Missed' Nags on startup.
0.0 10/29/87 Initial shareware release.
*********************************************************************
************************ 12. SHAREWARE **************************
*********************************************************************
12.0 - The Concept:
Quality software you get to try in your own computer environment
at little or no cost.
12.1 - The Pitch:
If you find that you continue to use this software, a $10 donation
to the author is encouraged and will place your name on the official
"user's list". $15 or more will also get you a disk with the latest
versions of Nag and other shareware. You may make your shareware
donation in the form of a PLink or Genie gift to RLStockton.
12.2 - The Address:
Richard Lee Stockton (Nag)
21305 60th West
Mountlake Terrace, WA 98043
12.3 - Bug Reports:
Send to the above address (US Snail) OR:
EMail: RLStockton on GENIE & PLINK OR:
call (voice only!) (206) 776-1253 (Seattle area)
12.4 - Distribution:
May not distributed for profit without prior written permission
from me. Individuals ARE encouraged to copy and give away Nag15.arc to
their friends (and enemies) and in addition; Fred Fish, Amicus and/or
other public distribution services of like intent are hereby given
permission to distribute Nag as long as the contents of the arc file
and all copyright notices remain intact.
12.5 - The Promise:
I shall maintain (and update as necessary) this shareware product
in an effort to make it the BEST software of it's type, commercial or
otherwise.
**************************************************************************
*************** La lingua de Amiga? Si! Poco a poco! *****************
**************************************************************************
****** DON'T PAY BIG BUCKS! *** SUPPORT AMIGA SHAREWARE! *******
**************************************************************************
Nag Version 1.6 (c) 1987-1988 Richard Lee Stockton (released as shareware)
**************************************************************************